<?php

if(isset($_GET['detail']))
{
	include_once('../libs/class.database.php');
	$k = new Database();
	$link=$k->connect();
	
	$query=$link->query("SELECT name,price FROM products ORDER BY date_created ASC");
	//$result=$query->fetchAll();
}
?>